<section id="robotListPage" class="pagebox robotsListPage" ng-controller="robotControl" resize ng-style="resetHeight(-100)">
    <div class="headerLeft">
        <dl class="textOverflow">
            <a class="aClean" ng-click="goMenu()">派宝开放平台</a> >
            <a id="showDiv"  class="aClean" ng-click="changeDiv()">自定义问答<img id="showDivImg" style="width:19px;" src="resource/images/DownArrow.png"></a>
        </dl>
    </div>
    <div class="header">
        <dl class="textOverflow">
            <a id="showUserDiv" class="aClean" title="{{title}}" ng-click="changeUserDiv()"><img class="robotIcon" src={{user.imageUrl}}>{{user.nickname}}<img id="showUserImg" style="width:19px;height: auto;" src="resource/images/DownArrow.png"></a>
        </dl>
    </div>
    <div class="container" id="hideDiv">
        <div class="content"><ul class="menuRobotsList">
            <li ng-repeat="m in menus">
                <a  class="aClean" ng-click="goSecondMenu(m.id)">
                    <img class="conversation_boxL menuIcon" src="{{m.imageUrl}}">
                    <dl ng-if="'' != m.menuName" title="{{m.menuName}}">
                        <span style="color: #0088CC" ng-if="'自定义问答' != m.menuName">{{m.menuName}}</span>
                        <span style="background-color: #7EA7D8;color: white;border-radius:8px;padding: 2px 5px 2px 5px" ng-if="'自定义问答' == m.menuName">{{m.menuName}}</span>
                    </dl>
                </a>
            </li>
        </ul></div>
        <s>
            <m></m>
        </s>
    </div>
    <div class="userDiv" id="hideUserDiv"><div class="userContainer">
        <div class="content">
            <ul>
                <li class="userLi">
                    <a ng-click="goChangePassowrd()" class="aClean">修改密码</a>
                </li>
                <li class="userLi">
                    <a ng-click="logOut()" class="aClean">注销</a>
                </li>
            </ul>
        </div>
        <s>
            <m></m>
        </s>
    </div></div>
    <div class="mainbox robotsListMain">
        <h3>我的机器人</h3>
        <dl ng-if="'' != robots">
            <ul class="robotsList">
                <li ng-repeat="r in robots">
                    <a ui-sref="questionList({robotId:r.id})">
                        <dl ng-if="'' != r.imageUrl">
                            <img class="conversation_boxL robotIcon" src={{r.imageUrl}}>
                        </dl>
                        <dl ng-if="'' == r.imageUrl">
                            <img class="conversation_boxL robotIcon" src="resource/images/RobotAvatar192.png">
                        </dl>
                        <p style="color: gainsboro" class="textOverflow">{{r.serialNumber}}</p>
                        <dl ng-if="'' != r.nickname" class="textOverflow" title="{{r.nickname}}">
                            {{r.nickname}}
                        </dl>
                        <dl ng-if="'' == r.nickname" class="textOverflow" title="{{r.nickname}}">
                            &nbsp;
                        </dl>
                    </a>
                </li>
            </ul>
        </dl>
        <dl ng-if="'' == robots">
            <h4>没有可以添加问答的机器人</h4>
        </dl>
    </div>
    <div class="robotList-footer">
        <p>Tips:点击头像进入问答列表，可以录入自定义问答</p>
    </div>
</section>

